/*
 * Copyright 2018 JDCLOUD.COM
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *    http:#www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
 * 
 * 
 *
 * 
 * Contact: 
 *
 * NOTE: This class is auto generated by the jdcloud code generator program.
 */


using System;
using System.Collections.Generic;
using System.Text;


namespace JDCloudSDK.Vod.Model
{

    /// <summary>
    ///  转码视频参数配置
    /// </summary>
    public class Video
    {

        ///<summary>
        /// 视频编码。取值范围：h265、h264
        ///</summary>
        public string Codec{ get; set; }
        ///<summary>
        /// 视频码率。取值范围 [128、10000]，单位为 Kbps
        ///</summary>
        public int? Bitrate{ get; set; }
        ///<summary>
        /// 视频帧率。取值范围为 [1、60]，单位为 fps
        ///</summary>
        public int? Fps{ get; set; }
        ///<summary>
        /// 视频输出宽度。取值范围 [128，4096] 整数。
        /// 当值为空时，若 height 也为空，则 width 和 height 与原视频保持一致；若 height 不为空，则 width 按照原视频的分辨率等比缩放。
        /// 
        ///</summary>
        public int? Width{ get; set; }
        ///<summary>
        /// 视频输出高度。取值范围 [128，4096] 整数。
        /// 当值为空时，若 width 也为空，则 width 和 height 与原视频保持一致；若 width 不为空，则 height 按照原视频的分辨率等比缩放。
        /// 
        ///</summary>
        public int? Height{ get; set; }
    }
}
